package router

import (
	"github.com/gin-gonic/gin"
	"monthly-test/internal/api"
)

func GroupRouter(r *gin.RouterGroup) {
	group := r.Group("group")
	{
		group.POST("/create", api.CreateGroup)
		group.PUT("/update", api.UpdateStatus)
		group.POST("/join", api.Join)
		group.GET("/list", api.GroupList)
	}
}
